package com.ht.modules.device.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 *  电表数据
 * @Author:
 * @Date:   2025-03-25
 * @Version: V1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class DeviceElectricityStatisticVo {
    /**设备ID*/
    private Integer deviceId;
    /**时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date dateTime;
    /**累计值*/
    private java.math.BigDecimal value;
	// ---------- Vo分界线 ----------
    private String startTime;
    private String endTime;
    private String deviceName;
    private String unit;
	// ---------- 查询字段 ----------
    private String statisticType = "hour";
}
